package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 店铺小程序配置(ShopWechatSetting)表实体类
 *
 * @author ye
 * @since 2021-10-25 17:55:10
 */
@SuppressWarnings("serial")
@Data
@TableName("shop_wechat_setting")
public class ShopWechatSetting extends Model<ShopWechatSetting> {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //店铺id
    private String shopId;
    //小程序appid
    private String appId;
    //小程序secret
    private String appSecret;
    //微信接口凭证
    private String accessToken;
    //商户号
    private String mchId;
    //支付秘钥
    private String secretKey;
    //证书文件名
    private String certPath;
    //是否设置了小程序头像
    private Integer setHeadImage;
    //是否设置了小程序昵称
    private Integer setNickName;
    //是否设置了小程序功能简介
    private Integer setSignature;
    //是否配置小程序用户隐私保护指引 0 否 1 是
    private Integer privacySetting;
    //是否添加了类目
    private Integer addCategory;
    //过期时间
    private Date expireTime;
    //创建时间
    private Date createdTime;
}